<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>embedme: libemb/inc/ComPort.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">embedme
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.8 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="annotated.html"><span>类</span></a></li>
      <li class="current"><a href="files.html"><span>文件</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>文件列表</span></a></li>
      <li><a href="globals.html"><span>文件成员</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_574d9269cd334a9d02d8928365303d98.html">libemb</a></li><li class="navelem"><a class="el" href="dir_207aad82934689048a9003fb51f06f7f.html">inc</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">ComPort.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_com_port_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/******************************************************************************</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * This file is part of libemb.</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * libemb is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * (at your option) any later version.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * libemb is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * GNU General Public License for more details.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * along with libemb.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> * Project: Embedme</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> * Author : FergusZeng</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * Email  : cblock@126.com</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> * git    : https://git.oschina.net/cblock/embedme</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> * Copyright 2014 @ ShenZhen ,China</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">*******************************************************************************/</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#ifndef __COMPORT_H__</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#define __COMPORT_H__</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_i_o_device_8h.html">IODevice.h</a>&quot;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#include &lt;termios.h&gt;</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#include &lt;unistd.h&gt;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="_com_port_8h.html#a5918fe826d52ebeb80f0702003cafa06">   32</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;{</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    BAUD_1200      = 1200,</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    BAUD_2400      = 2400,</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    BAUD_4800      = 4800,</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    BAUD_9600      = 9600,</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    BAUD_19200     = 19200,</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    BAUD_38400     = 38400,</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    BAUD_57600     = 57600,</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    BAUD_115200    = 115200,</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    BAUD_460800    = 460800</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;}<a class="code" href="_com_port_8h.html#a5918fe826d52ebeb80f0702003cafa06">BAUDRATE_E</a>;</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="_com_port_8h.html#a1de03bb13aeacac6843d140c989c3d68">   46</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;{</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    DATA_5=5,</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    DATA_6,</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    DATA_7,</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    DATA_8</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;}<a class="code" href="_com_port_8h.html#a1de03bb13aeacac6843d140c989c3d68">DATABITS_E</a>;</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="_com_port_8h.html#a8cc6d042f35aadef20feb961e7994206">   55</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;{</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    STOP_1=1,</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    STOP_2</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;}<a class="code" href="_com_port_8h.html#a8cc6d042f35aadef20feb961e7994206">STOPBITS_E</a>;</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="_com_port_8h.html#a60b68ab60f93ff7acecde69ec4c8c009">   62</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;{</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    PARITY_NONE=0,</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    PARITY_ODD,</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    PARITY_EVEN,</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    PARITY_SPACE</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;}<a class="code" href="_com_port_8h.html#a60b68ab60f93ff7acecde69ec4c8c009">PARITY_E</a>;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="_com_port_8h.html#a04d52696306a4d09ad2e16b88b29c0f8">   71</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span>{</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    FLOWCTRL_NONE=0,</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    FLOWCTRL_HW,</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    FLOWCTRL_SW</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;}<a class="code" href="_com_port_8h.html#a04d52696306a4d09ad2e16b88b29c0f8">FLOWCTRL_E</a>;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="_com_port_8h.html#af845d7b11d8c598fdad5f291e08b3053">   78</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span>{</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    COM_ATTR_BAUDRATE=0,</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    COM_ATTR_DATABITS,</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    COM_ATTR_STOPBITS,</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    COM_ATTR_PARITY,</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    COM_ATTR_FLOWCTRL,</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;}<a class="code" href="_com_port_8h.html#af845d7b11d8c598fdad5f291e08b3053">COM_ATTR_E</a>;</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="class_com_port.html">   91</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_com_port.html">ComPort</a>:<span class="keyword">public</span> <a class="code" href="class_i_o_device.html">IODevice</a>{</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    <a class="code" href="class_com_port.html#a18f814468b55405add84e4f8271a95e9">ComPort</a>();</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_com_port.html#a60f4557b68a559975a0404f77480e038">~ComPort</a>();</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    <span class="keyword">virtual</span> sint32 <a class="code" href="class_com_port.html#aae244aab39a2a0321016bc21c5164e24">open</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* devName,sint32 ioMode);</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    <span class="keyword">virtual</span> sint32 <a class="code" href="class_com_port.html#a75e33f87300daf62df4ae5bd21c0cbc4">close</a>();</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    <span class="keyword">virtual</span> sint32 <a class="code" href="class_com_port.html#a881598304b2cc737043030f99e930d8e">readData</a>(<span class="keywordtype">char</span> * buf, sint32 len, sint32 timeoutMs=-1);</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    <span class="keyword">virtual</span> sint32 <a class="code" href="class_com_port.html#a6559f7c675d8e7ddd00a016da4d3c783">writeData</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *buf, sint32 len, sint32 timeoutMs=-1);</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    <span class="keyword">virtual</span> sint32 <a class="code" href="class_com_port.html#ae6f5483e8166888e697265f1dfc3fddf">setAttribute</a>(sint32 attr, sint32 value);</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    <span class="keyword">virtual</span> sint32 <a class="code" href="class_com_port.html#aa470a678897eaa01b7ffd6d5f8519ac4">getAttribute</a>(sint32 attr);</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    <span class="keyword">typedef</span> <span class="keyword">struct</span></div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    {</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;        <a class="code" href="_com_port_8h.html#a5918fe826d52ebeb80f0702003cafa06">BAUDRATE_E</a> m_bandrate;</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        <a class="code" href="_com_port_8h.html#a1de03bb13aeacac6843d140c989c3d68">DATABITS_E</a> m_databits;</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;        <a class="code" href="_com_port_8h.html#a8cc6d042f35aadef20feb961e7994206">STOPBITS_E</a> m_stopbits;</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;        <a class="code" href="_com_port_8h.html#a60b68ab60f93ff7acecde69ec4c8c009">PARITY_E</a>   m_parity;</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;        <a class="code" href="_com_port_8h.html#a04d52696306a4d09ad2e16b88b29c0f8">FLOWCTRL_E</a> m_flowctrl;</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    }ComPortAttr_S;</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    ComPortAttr_S m_attr;</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    uint32 m_errorCount;</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;};</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="class_com_port_html_a6559f7c675d8e7ddd00a016da4d3c783"><div class="ttname"><a href="class_com_port.html#a6559f7c675d8e7ddd00a016da4d3c783">ComPort::writeData</a></div><div class="ttdeci">virtual sint32 writeData(const char *buf, sint32 len, sint32 timeoutMs=-1)</div><div class="ttdoc">写串口数据 </div><div class="ttdef"><b>Definition:</b> ComPort.cpp:268</div></div>
<div class="ttc" id="class_com_port_html_a60f4557b68a559975a0404f77480e038"><div class="ttname"><a href="class_com_port.html#a60f4557b68a559975a0404f77480e038">ComPort::~ComPort</a></div><div class="ttdeci">virtual ~ComPort()</div><div class="ttdoc">析构函数 </div><div class="ttdef"><b>Definition:</b> ComPort.cpp:54</div></div>
<div class="ttc" id="_com_port_8h_html_a5918fe826d52ebeb80f0702003cafa06"><div class="ttname"><a href="_com_port_8h.html#a5918fe826d52ebeb80f0702003cafa06">BAUDRATE_E</a></div><div class="ttdeci">BAUDRATE_E</div><div class="ttdef"><b>Definition:</b> ComPort.h:32</div></div>
<div class="ttc" id="class_i_o_device_html"><div class="ttname"><a href="class_i_o_device.html">IODevice</a></div><div class="ttdoc">IO设备抽象类 </div><div class="ttdef"><b>Definition:</b> IODevice.h:49</div></div>
<div class="ttc" id="_i_o_device_8h_html"><div class="ttname"><a href="_i_o_device_8h.html">IODevice.h</a></div></div>
<div class="ttc" id="class_com_port_html_a75e33f87300daf62df4ae5bd21c0cbc4"><div class="ttname"><a href="class_com_port.html#a75e33f87300daf62df4ae5bd21c0cbc4">ComPort::close</a></div><div class="ttdeci">virtual sint32 close()</div><div class="ttdoc">关闭串口 </div><div class="ttdef"><b>Definition:</b> ComPort.cpp:191</div></div>
<div class="ttc" id="_com_port_8h_html_a04d52696306a4d09ad2e16b88b29c0f8"><div class="ttname"><a href="_com_port_8h.html#a04d52696306a4d09ad2e16b88b29c0f8">FLOWCTRL_E</a></div><div class="ttdeci">FLOWCTRL_E</div><div class="ttdef"><b>Definition:</b> ComPort.h:71</div></div>
<div class="ttc" id="_com_port_8h_html_a60b68ab60f93ff7acecde69ec4c8c009"><div class="ttname"><a href="_com_port_8h.html#a60b68ab60f93ff7acecde69ec4c8c009">PARITY_E</a></div><div class="ttdeci">PARITY_E</div><div class="ttdef"><b>Definition:</b> ComPort.h:62</div></div>
<div class="ttc" id="class_com_port_html"><div class="ttname"><a href="class_com_port.html">ComPort</a></div><div class="ttdoc">串口设备类. </div><div class="ttdef"><b>Definition:</b> ComPort.h:91</div></div>
<div class="ttc" id="class_com_port_html_a18f814468b55405add84e4f8271a95e9"><div class="ttname"><a href="class_com_port.html#a18f814468b55405add84e4f8271a95e9">ComPort::ComPort</a></div><div class="ttdeci">ComPort()</div><div class="ttdoc">构造函数 </div><div class="ttdef"><b>Definition:</b> ComPort.cpp:38</div></div>
<div class="ttc" id="class_com_port_html_ae6f5483e8166888e697265f1dfc3fddf"><div class="ttname"><a href="class_com_port.html#ae6f5483e8166888e697265f1dfc3fddf">ComPort::setAttribute</a></div><div class="ttdeci">virtual sint32 setAttribute(sint32 attr, sint32 value)</div><div class="ttdoc">设置串口属性 </div><div class="ttdef"><b>Definition:</b> ComPort.cpp:338</div></div>
<div class="ttc" id="_com_port_8h_html_a8cc6d042f35aadef20feb961e7994206"><div class="ttname"><a href="_com_port_8h.html#a8cc6d042f35aadef20feb961e7994206">STOPBITS_E</a></div><div class="ttdeci">STOPBITS_E</div><div class="ttdef"><b>Definition:</b> ComPort.h:55</div></div>
<div class="ttc" id="_com_port_8h_html_a1de03bb13aeacac6843d140c989c3d68"><div class="ttname"><a href="_com_port_8h.html#a1de03bb13aeacac6843d140c989c3d68">DATABITS_E</a></div><div class="ttdeci">DATABITS_E</div><div class="ttdef"><b>Definition:</b> ComPort.h:46</div></div>
<div class="ttc" id="class_com_port_html_a881598304b2cc737043030f99e930d8e"><div class="ttname"><a href="class_com_port.html#a881598304b2cc737043030f99e930d8e">ComPort::readData</a></div><div class="ttdeci">virtual sint32 readData(char *buf, sint32 len, sint32 timeoutMs=-1)</div><div class="ttdoc">读串口数据 </div><div class="ttdef"><b>Definition:</b> ComPort.cpp:204</div></div>
<div class="ttc" id="class_com_port_html_aae244aab39a2a0321016bc21c5164e24"><div class="ttname"><a href="class_com_port.html#aae244aab39a2a0321016bc21c5164e24">ComPort::open</a></div><div class="ttdeci">virtual sint32 open(const char *devName, sint32 ioMode)</div><div class="ttdoc">打开串口 </div><div class="ttdef"><b>Definition:</b> ComPort.cpp:66</div></div>
<div class="ttc" id="class_com_port_html_aa470a678897eaa01b7ffd6d5f8519ac4"><div class="ttname"><a href="class_com_port.html#aa470a678897eaa01b7ffd6d5f8519ac4">ComPort::getAttribute</a></div><div class="ttdeci">virtual sint32 getAttribute(sint32 attr)</div><div class="ttdoc">获取串口属性 </div><div class="ttdef"><b>Definition:</b> ComPort.cpp:418</div></div>
<div class="ttc" id="_com_port_8h_html_af845d7b11d8c598fdad5f291e08b3053"><div class="ttname"><a href="_com_port_8h.html#af845d7b11d8c598fdad5f291e08b3053">COM_ATTR_E</a></div><div class="ttdeci">COM_ATTR_E</div><div class="ttdef"><b>Definition:</b> ComPort.h:78</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2016年 七月 7日 星期四 19:49:37 , 为 embedme使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>
